home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
8bitfiles.net/archives
/
archives.tar
/
archives
/
compuserve-file-archive
/
15 Orphan Computers
/
BNEWS1.TXT
< prev
next >
Wrap
Text File
|
2019-04-13
|
2KB
|
59 lines
*nb"BUG1/1/004"
*lm6:rm78:pl66:tl60
*p#4:hd1:B128 Users Group Journal,,
*ft4:----------------------------,page #,-----------------------------
-------------------------------------------------------------------------
Continued from page 3
With this new found capability I got involved in converting some C64 programs to check it out. A short example BASIC program listing follows:
Northern Tune
100 print "music (by jim butterfield): rem modified for the B128 by M. Schwanke
110 l1=54272+1536:l2=54279+1536:l3=54286+1536:rem +1536 offset for b128 sid address
120 h1=l1+1:h2=l2+1:h3=l3+1
130 v1=l1+4:v2=l2+4:v3=l3+4
140 poke 54296+1536,15
150 poke v1+1,9:poke v2+2,0
160 poke v2+1,36:poke v2+2,36
170 poke v3+1,18:poke v3+2,170
200 poke v1,16:poke v2,32:poke v3,16
210 read s:if s=0 goto 290
220 read x1,y1,x2,y2,x3,y3
230 if x1 then poke h1,x1:poke l1,y1:poke v1,17
240 if x2 then poke h2,x2:poke l2,y2:poke v2,33
250 if x3 then poke h3,x3:poke l3,y3:poke v3,17
260 s=s-1: for a0=1 to 5: next a0
270 if s>0 goto 260
280 goto 200
290 for j=l1 to 54296+1536: poke j,0:next j: rem +1536 offset for B128 sid address
300 data 20,3